package fun.werfamily.wf.goods.core.domain.enums;


import fun.werfamily.wf.base.exception.CommonError;

/**
 * @Author: Mr.WenMing Zhang
 * @Date: 2022/07/27 17:37
 * @Description:
 **/
public enum ResponseCodeEnum implements CommonError {
    DATA_IS_EMPTY("5001", "数据不存在", "数据不存在"),
    ;
    private String code;
    private String msg;
    private String friendlyMsg;

    ResponseCodeEnum(String code, String msg, String friendlyMsg) {
        this.code = code;
        this.msg = msg;
        this.friendlyMsg = friendlyMsg;
    }

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String getFriendlyMsg() {
        return friendlyMsg;
    }

    public void setFriendlyMsg(String friendlyMsg) {
        this.friendlyMsg = friendlyMsg;
    }
}
